import {API_CONFIG} from "../config/index.js";
import request from "./index.js";

// pod
export const  getPodListHandler = (clusterId,namespace)=>{
    return request(API_CONFIG.getPodListApi,{clusterId,namespace},"GET",2000)
}

// delete
export const  deletePodHandler = (clusterId,namespace,name,force)=>{
    return request(API_CONFIG.deletePodApi,{clusterId,namespace,name,force},"POST",2000)
}